package com.caifeng.domain.vo;

public record DefaultVO(String description) {

    public static DefaultVO of(String description) {
        return new DefaultVO(description);
    }

    public static DefaultVO success() {
        return new DefaultVO("操作成功");
    }

    public static DefaultVO fail() {
        return new DefaultVO("操作失败");
    }
}
